<template>
  <router-view></router-view>
  <div><van-tree-select
    v-model:main-active-index="activeIndex"
    height="55vw"
    :items="items"
  >
    <template #content>
      <van-image
        v-if="activeIndex === 0"
        src="https://unpkg.com/@vant/assets/apple-1.jpeg"
      />
      <van-image
        v-if="activeIndex === 1"
        src="https://unpkg.com/@vant/assets/apple-2.jpeg"
      />
    </template>
  </van-tree-select>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
};
</script>

<style>
.app {
  font-size: 20px;
}
</style>
